<template>
  <div class="approver_wrap">
    <span>{{ props.name }} </span>
  </div>
</template>

<script setup lang="ts">
import { reactive, computed, ref, getCurrentInstance, onMounted, watch, onUnmounted, createVNode, toRaw } from 'vue';

const props = defineProps<{
  customAttr: any;
  type?: string;
  name: string;
}>();
</script>

<style lang="less" scoped>
.approver_wrap {
  // margin: 10px;
  width: 80px;
  height: 80px;
  // padding: 10px;
  background: #ffffff;
  // box-shadow: 0px -1px 5px 0px rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  border: 1px double rgba(0, 0, 0);
  // border-left: 6px solid #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  &:hover {
    border: 1px solid #005aea;
    // border-left: 6px solid #000000;
    // box-shadow: 0px 0px 5px 3px rgba(0, 90, 234, 0.3);
  }

  .title {
    span {
      font-weight: 600;
    }
  }
  .content {
    margin-top: 10px;
  }
}

.lf-node-selected {
  .approver_wrap {
    border: 1px solid #005aea;
    // border-left: 6px solid #000000;
    // box-shadow: 0px 0px 5px 3px rgba(0, 90, 234, 0.3);
  }
}
</style>
